From 473ed75ed54524677efdbddd05896210565b7be0 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 9 Aug 2020 12:01:08 -0400 Subject: [PATCH] Adwaita: be careful with list separators We only want the list .separators class to affect its immediate children - otherwise, we end up with separators in dropdowns that are places into button strips. As a side benefit, restricting this to immediate children makes for faster matching. --- gtk/theme/Adwaita/_common.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index c453733828..deeaed97f9 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -3078,11 +3078,11 @@ list { > row.expander .row-header { padding: 2px; } &.horizontal row.separator:not(:first-child), - &.separators.horizontal row:not(:first-child) { + &.separators.horizontal > row:not(:first-child) { border-left: 1px solid $borders_color; } &:not(.horizontal) row.separator:not(:first-child), - &.separators:not(.horizontal) row:not(:first-child) { + &.separators:not(.horizontal) > row:not(:first-child) { border-top: 1px solid $borders_color; } } -- 2.30.2